package com.flame.schedule.mapper;

import java.util.List;

import com.flame.schedule.controller.vo.JobInfoVo;
import com.flame.schedule.entity.JobInfo;
import com.flame.schedule.mapper.dto.JobInfoDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_schedule_job_info 任务信息表
 *
 * @author 吴欣童
 * @since 2022-12-03 19:56:44
 */
@Mapper
public interface JobInfoMapper {

    List<JobInfoDto> page(JobInfoVo jobInfoVo);

    void insert(JobInfoDto jobInfo);

    void updateById(JobInfoDto jobInfo);

    void deleteById(@Param("jobName") String jobName, @Param("jobGroup") String jobGroup);

    JobInfoDto selectById(@Param("jobName") String jobName, @Param("jobGroup") String jobGroup);

    List<String> listJobGroup();
}